package com.swt.agy.backend.dao;

import com.swt.agy.backend.model.entity.DictCity;
import com.swt.agy.backend.model.entity.DictCityExample;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DictCityDao {
    int deleteByPrimaryKey(Integer id);

    int insert(DictCity record);

    int insertSelective(DictCity record);

    List<DictCity> selectByExample(DictCityExample example);

    DictCity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DictCity record);

    int updateByPrimaryKey(DictCity record);

    List<DictCity> selectDictCityByProvinceId(Integer provinceId);

    List<DictCity> selectByCityName(String cityName);
}